<%@include file="../header.jsp"%>
 
<!-- start content-outer ........................................................................................................................START -->
<div id="content-outer">
<!-- start content -->
<div id="content">

	<!--  start page-heading -->
	<div id="page-heading">
		<h1>Kelola Pembimbing TA</h1>
	</div>
	<!-- end page-heading -->
    
    <!-- start search -->
    <table border="0" width="100%" cellpadding="0" cellspacing="0" id="content-table">
      <tr>
		<th rowspan="3" class="sized"><img src="images/shared/side_shadowleft.jpg" width="20" height="300" alt="" /></th>
		<th class="topleft"></th>
		<td id="tbl-border-top">&nbsp;</td>
		<th class="topright"></th>
		<th rowspan="3" class="sized"><img src="images/shared/side_shadowright.jpg" width="20" height="300" alt="" /></th>
	</tr>
	<tr>
		<td id="tbl-border-left"></td>
		<td>
		<!--  start content-table-inner ...................................................................... START -->
		<div id="content-table-inner">
                                              
		<div id="table-content">
                    
                        <table border="0" width="100%" cellpadding="0" cellspacing="0" id="product-table">			
                        <tr>
                            <th class="table-header-repeat line-left "><a href="">No</a></th>
                            <th class="table-header-repeat line-left "><a href="">Nama Dosen</a></th>
                            <th class="table-header-repeat line-left "><a href="">Jumlah Bimbingan (Pembimbing 1)</a></th>
                            <th class="table-header-repeat line-left "><a href="">Jumlah Bimbingan (Pembimbing 2)</a></th>
                            <th class="table-header-repeat line-left "><a href="">Status pembimbing</a>
                        </tr>
                        <% int i = 1;%>
                        <c:forEach items="${listPembimbing}" var="listPembimbing">
                        <tr>
                                <td><% out.print(i); i++; %></td>
                                <td>${listPembimbing.namaUser}</td>
                                <td>${listPembimbing.jlhMhsPembimbing1}</td>
                                <td>${listPembimbing.jlhMhsPembimbing2}</td>
                                <td align="center">
                                    <c:if test="${listPembimbing.statusPembimbing1 == '0'}">
                                      <form action="SidangTAController?page=setPembimbing1" method="post">
                                            <input type="hidden" name="idUser" value="${listPembimbing.idUser}"></input>
                                            <input type="hidden" name="statusPembimbing1" value="1"></input>
                                            <input value="" class="form-pembimbing1Disable" type="submit"></input>   
                                      </form>
                                      <form action="SidangTAController?page=setPembimbing1" method="post">
                                            <input type="hidden" name="idUser" value="${listPembimbing.idUser}"></input>
                                            <input type="hidden" name="statusPembimbing1" value="0"></input>
                                            <input value="" class="form-pembimbing" type="submit"></input>   
                                      </form>
                                    </c:if>
                                    <c:if test="${listPembimbing.statusPembimbing1 == '1'}">
                                      <form id="mainform" action="SidangTAController?page=persetujuanSidang" method="post">
                                            <input type="hidden" name="idUser" value="${listPembimbing.idUser}"></input>
                                            <input type="hidden" name="statusPembimbing1" value="0"></input>
                                            <input value="" class="form-pembimbing1" type="submit"></input>   
                                      </form>
                                      <form action="SidangTAController?page=setPembimbing1" method="post">
                                            <input type="hidden" name="idUser" value="${listPembimbing.idUser}"></input>
                                            <input type="hidden" name="statusPembimbing1" value="0"></input>
                                            <input value="" class="form-pembimbingDisable" type="submit"></input>   
                                      </form>
                                    </c:if>
                                </td>
                        </tr>
                        </c:forEach>
                        </table>				
			</div>
			<!--  end content-table  -->
		
			<!--  start actions-box ............................................... --><!-- end actions-box........... -->
			
			<!--  start paging..................................................... -->
			
			<!--  end paging................ -->
			
			<div class="clear"></div>
		 
		</div>
		<!--  end content-table-inner ............................................END  -->
		</td>
		<td id="tbl-border-right"></td>
	</tr>
	<tr>
		<th class="sized bottomleft"></th>
		<td id="tbl-border-bottom">&nbsp;</td>
		<th class="sized bottomright"></th>
	</tr>
	</table>
	<div class="clear">&nbsp;</div>

</div>
<!--  end content -->
<div class="clear">&nbsp;</div>
</div>
<!--  end content-outer........................................................END -->

<div class="clear">&nbsp;</div>
    
<!-- start footer -->         
<div id="footer">
	<!--  start footer-left -->
	<div id="footer-left">
	
	Admin Skin &copy; Copyright Internet Dreams Ltd. <span id="spanYear"></span> <a href="">www.netdreams.co.uk</a>. All rights reserved.</div>
	<!--  end footer-left -->
	<div class="clear">&nbsp;</div>
</div>
<!-- end footer -->
 
</body>
</html>